//
//  UIView+AddView.h
//  HumanResource
//
//  Created by Gu on 15/11/19.
//  Copyright © 2015年 hang.yu. All rights reserved.
//



@interface UIView (AddView)

@property(nonatomic,assign)CGFloat y;
@property(nonatomic,assign)CGFloat x;
@property(nonatomic,assign)CGFloat width;
@property(nonatomic,assign)CGFloat height;

- (void)changeView_X:(float)X;
- (void)changeView_Y:(float)Y;
- (void)changeView_Width:(float)Width;
- (void)changeView_Height:(float)Height;
- (CGFloat)getView_X;
- (CGFloat)getView_Y;
- (CGFloat)getView_Width;
- (CGFloat)getView_Height;

/** 从xib中创建一个控件 */
+ (instancetype)viewFromXib;

@end
